<%@include file="/WEB-INF/taglibs/common/taglibs.jsp" %>
<table class="formTable" cellspacing="0" width="93%">
<tbody>
<tr class="formHeader">
    <td height="20" colspan="7">
        <c:choose>
            <c:when test="${param.blank_check=='true'}">
                <spring:message code="sp.search_checks.label.search_blank_checks.title"/>
            </c:when>
            <c:when test="${param.printed_check=='true'}">
                <spring:message code="sp.search_checks.label.search_printed_checks.title"/>
            </c:when>
            <c:when test="${param.order_usage_blank_check=='true'}">
                <spring:message code="sp.search_checks.label.order_usage_report_blank_checks.title"/>
            </c:when>
            <c:otherwise>
                <spring:message code="sp.search_checks.label.title"/>
            </c:otherwise>
        </c:choose>
    </td>
</tr>
<tr>
    <td height="31" colspan="7" class="label"><h5 align="left"><spring:message
            code="sp.search_checks.label.message.1"/></h5></td>
</tr> 
<td class="label">Search for</td>
                <td><select name="select">
                    <option value="1" selected="selected">Printed checks only</option>
                    <option value="2">Direct deposit only</option>
                    <option value="3">Blank checks only</option>
                    <option value="4">All payments</option>
                    <option value="5">All checks</option>
                  </select></td>
<tr>
    <td width="8%" height="27" class="label"><strong>
        <label for="bank_name" class="inline"><spring:message code="sp.search_checks.label.search_by"/> </label>
    </strong></td>
    <td width="18%" class="label">&nbsp;</td>
    <td width="16%">&nbsp;</td>
    <td width="2%">&nbsp;</td>
    <td class="label"><strong>
        <label for="bank_name" class="inline"><spring:message code="sp.search_checks.label.search_by"/></label>
    </strong></td>
    <td width="16%" class="label">&nbsp;</td>
    <td width="30%">&nbsp;</td>
</tr>
<tr>
    <td width="8%" height="34" class="label"><span style="width: 100px">
                <input type="checkbox" name="select23" id="select23"/>
                </span></td>
    <td class="label"><label for="label3" class="inline"><spring:message code="sp.search_checks.label.all"/><span
            class="req"></span></label></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select22" id="select2"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.taxpayer_ssn"/></td>
    <td><input name="state" type="text" id="label" size="21"/></td>
</tr>
<tr>
    <td height="33" class="label"><span style="width: 100px">
                <input type="checkbox" name="select232" id="select23"/>
                </span></td>
    <td class="label"><label for="label3" class="inline"><spring:message
            code="sp.search_checks.label.check_number"/><span class="req"></span></label></td>
    <td><input name="phone" type="text" id="driver_lisence2" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select3" id="select3"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.taxpayer_fn"/></td>
    <td><input name="Zip" type="text" id="label" size="21"/></td>
</tr>
<tr>
    <td height="32" class="label"><span style="width: 100px">
                <input type="checkbox" name="select22" id="select2"/>
                </span></td>
    <td class="label"><label for="label" class="inline"> <spring:message code="sp.search_checks.label.date_of_print"/>
    </label></td>
    <td><input name="country" type="text" id="label" size="21"/></td>
    <td>&nbsp;</td>
    <td width="10%" class="label"><span style="width: 100px">
                <input type="checkbox" name="select232" id="select23"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.taxpayer_mn"/></td>
    <td><input name="fax" type="text" id="driver_lisence2" size="21"/></td>
</tr>
<tr>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select32" id="select32"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.date_picked"/></td>
    <td><input name="state" type="text" id="label" size="21"/></td>
    <td>&nbsp;</td>
    <td width="10%" class="label"><span style="width: 100px">
                <input type="checkbox" name="select23" id="select23"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.taxpayer_ln"/></td>
    <td><input name="state" type="text" id="label" size="21"/></td>
</tr>
<tr>
    <td width="8%" height="33" class="label"><span style="width: 100px">
                <input type="checkbox" name="select23" id="select23"/>
                </span></td>
    <td class="label"><label for="label" class="inline"><spring:message code="sp.search_checks.label.order_id"/></label>
    </td>
    <td><input name="Zip" type="text" id="label" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select232" id="select23"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.spouse_ssn"/></td>
    <td><input name="Zip" type="text" id="label" size="21"/></td>
</tr>
<tr>
    <td height="35" class="label"><span style="width: 100px">
                <input type="checkbox" name="select232" id="select23"/>
                </span></td>
    <td class="label"><label for="label" class="inline"><spring:message
            code="sp.search_checks.label.order_date"/></label></td>
    <td><input name="fax" type="text" id="driver_lisence2" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select22" id="select2"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.sp_fn"/></td>
    <td><input name="fax" type="text" id="driver_lisence2" size="21"/></td>
</tr>
<tr>
    <td height="34" class="label"><span style="width: 100px">
                <input type="checkbox" name="select22" id="select2"/>
                </span></td>
    <td class="label"><label for="label3" class="inline"><spring:message
            code="sp.search_checks.label.batch_id"/></label></td>
    <td><input name="city2" type="text" id="city" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select232" id="select23"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.spouse_mn"/></td>
    <td><input name="Zip" type="text" id="label" size="21"/></td>
</tr>
<tr>
    <td height="35" class="label"><span style="width: 100px">
                <input type="checkbox" name="select3" id="select3"/>
                </span></td>
    <td class="label"><label for="label" class="inline"><spring:message code="sp.search_checks.label.tran_id"/></label>
    </td>
    <td><input name="city" type="text" id="label" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select22" id="select2"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.spouse_ln"/></td>
    <td><input name="fax" type="text" id="driver_lisence2" size="21"/></td>
</tr>
<tr>
    <td height="32" class="label"><span style="width: 100px">
                <input type="checkbox" name="select3" id="select3"/>
                </span></td>
    <td class="label"><label for="label" class="inline"><spring:message
            code="sp.search_checks.label.originator"/></label></td>
    <td><input name="city" type="text" id="label" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select22" id="select2"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.amt"/></td>
    <td><input name="fax" type="text" id="driver_lisence2" size="21"/></td>
</tr>
<tr>
    <td height="34" class="label"><span style="width: 100px">
                <input type="checkbox" name="select3" id="select3"/>
                </span></td>
    <td class="label"><label for="label" class="inline"><spring:message
            code="sp.search_checks.label.taxpayer_bal"/></label></td>
    <td><input name="city" type="text" id="label" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label"><span style="width: 100px">
                <input type="checkbox" name="select22" id="select2"/>
                </span></td>
    <td class="label"><spring:message code="sp.search_checks.label.status"/></td>
    <td><input name="fax" type="text" id="driver_lisence2" size="21"/></td>
     <td class="label">Service Provider First Name</td>
                <td><input name="fax" type="text" id="driver_lisence2" size="21" /></td>
       <td class="label">Service Provider Middle Name</td>
                <td><input name="Zip" type="text" id="label" size="21" /></td>
        <td class="label">Service Provider Last Name</td>
                <td><input name="fax" type="text" id="driver_lisence2" size="21" /></td>
         
          <td class="label">Service Provider SSN</td>
                <td><input name="Zip" type="text" id="label" size="21" /></td>
</tr>
<tr>
    <td height="43" colspan="2" class="label"><label for="label3" class="inline"><spring:message
            code="sp.search_checks.label.max_entries_view"/> <span class="req"></span></label></td>
    <td><input name="enteries" type="text" size="21"/></td>
    <td>&nbsp;</td>
    <td class="label">&nbsp;</td>
    <td class="label">&nbsp;</td>
    <td>&nbsp;</td>
</tr>
<tr>
    <td colspan="2" class="label"><input name="submit32" type="submit" class="ui-button ui-state-default ui-corner-all"
                                         value='<spring:message code="sp.search_checks.label.search"/>'/></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td class="label">&nbsp;</td>
    <td class="label">&nbsp;</td>
    <td>&nbsp;</td>
</tr>
<tr>
    <td colspan="2" class="label">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td class="label">&nbsp;</td>
    <td class="label">&nbsp;</td>
    <td>&nbsp;</td>
</tr>
<tr>
    <td colspan="7" class="label">
        <c:choose>
            <c:when test="${param.blank_check=='true'}">
                <%@include file="search_results_blank_checks.jsp" %>
            </c:when>
            <c:when test="${param.printed_check=='true'}">
                <%@include file="search_results_printed_checks.jsp" %>
            </c:when>
            <c:when test="${param.order_usage_blank_check=='true'}">
                <%@include file="search_results_order_usage_blank_checks.jsp" %>
            </c:when>
            <c:otherwise>
                <%@include file="search_results.jsp" %>
            </c:otherwise>
        </c:choose>

        <p>&nbsp;</p>
    </td>
</tr>
</tbody>
</table>